﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame4
{
    class Cell
    {
        private Object obj;

        private int row;
        private int column;
        private int size;

        public Cell(int row, int column, int size)
        {
            this.size = size;
            this.row = row;
            this.column = column;
            obj = null;
        }

        public Object Obj
        {
            get { return obj; }
            set { obj = value; }
        }

        public int Row
        {
            get { return row; }
            set { row = value; }
        }

        public int Column
        {
            get { return column; }
            set { column = value; }
        }

        public int getRealX()
        {
            return Column * size;
        }

        public int getRealY()
        {
            return Row * size;
        }

        public int Size
        {
            get { return size; }
            set { size = value; }
        }
    }
}
